<script>
export default {
	onLaunch: function () {
		console.log("App Launch")
	},
	onShow: function () {
		console.log("App Show")
	},
	onHide: function () {
		console.log("App Hide")
	}
}
</script>

<style lang="scss">
/*每个页面公共css */

page {
	height: 100%;
	overflow: auto;
}

/* uni-app组件初始化 */
view,
text,
button,
input,
textarea,
image,
navigator,
scroll-view,
swiper,
swiper-item,
picker,
picker-view,
slider,
switch,
audio,
video,
canvas,
web-view,
radio,
checkbox,
label,
form,
rich-text,
progress,
icon {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: auto;
}

/* 文本相关元素 */
text,
button {
	font-size: 28rpx;
	line-height: 1.4;
	color: #333;
}

/* 按钮重置 */
button {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font-size: inherit;
	color: inherit;
	border-radius: 0;
}

button::after {
	border: none;
}

/* 输入框重置 */
input,
textarea {
	background: none;
	border: none;
	outline: none;
	font-size: 28rpx;
	color: #333;
	padding: 0;
	margin: 0;
}

/* 图片默认样式 */
image {
	display: block;
	max-width: 100%;
	height: auto;
}

/* 列表重置 */
scroll-view {
	-webkit-overflow-scrolling: touch;
}

/* 链接重置 */
navigator {
	text-decoration: none;
	color: inherit;
}

/* 表单元素重置 */
picker,
picker-view {
	width: 100%;
}

radio,
checkbox {
	margin: 0;
}

/* 滑块重置 */
slider {
	margin: 0;
}

/* 开关重置 */
switch {
	margin: 0;
}

/* 进度条重置 */
progress {
	margin: 0;
}
</style>